import i18n from '@/language/index'

export const t = i18n.global.t

export default function SentenceModel(id = null, classificationId= null, sentence= null, taggings = []) {
    this.id = id;
    this.classificationId = classificationId;
    this.sentence = sentence;
    this.taggings = taggings;

    this.rules = {
        sentence: [
            {required: true, message: t('menu.1'), trigger: 'blur'},
        ],
    }
}